<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
</head>
<body>
<h1>文件上传</h1>
<form action="/file/upload" method="post" enctype="multipart/form-data">
    用户名：<input type="text" name="username"><br/>
    文件上传：<input type="file" name="image"><br/> <input type="submit"><br/>
</form>
<h1>文件下载</h1>
<a href="/Tmall/file/download?filename=1.jpg">下载</a>
<a href="/Tmall/file/download2?filename=2.jpg">下载2</a>
</body>
</html>